<?php
if(!defined('PATH')) exit();
?>
<?php
if (!$newsList->isLoaded()) {
	$this->archez->showMsg('There are no news to display for now.', 'notice');
}
while ($news = $newsList->next()) {
?>
<h1><?=$news->title?></h1>
<?=nl2br($news->body)?><br/>
<span style="float: right; font-size: 75%; line-height: 30px;"><?=date($this->config['website']['date_format'], $news->time)?> | Comments: <a href="<?=PATH?>/news/comments/<?=$news->id?>"><?=$news->comments?></a></span>
<?php
}
?>